]> dgit.raspbian.org Git - gnome-shell.git/commit
osdWindow: Fix level bar width
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 3 Jun 2016 23:29:07 +0000 (01:29 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 5 Jul 2016 15:47:44 +0000 (17:47 +0200)
commit775187b2e49ee39405148c214aa4bb9c3bc8f50e
treea6988e13d5f14d96dcdd4b9506cc32eb8ef39c47
parent99b5e10acf9e84af3d18dad831b4c7488cdc5f0f
osdWindow: Fix level bar width

Commit 9b07ce1d0d changed the OSD window's level bar to be a regular
actor instead of a custom drawn bar. The bar actor's width depends on
both the configured level (e.g. 40%) and the available width, however
the width is currently only updated when the configured level changes.
Fix that by properly considering changes to the parent's width as well.

https://bugzilla.gnome.org/show_bug.cgi?id=768317
js/ui/osdWindow.js